﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.UserTrial.Dto
{
    [ExcelExporter(Name = "报表数据", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetCourseInstructorOutput
    {
        /// <summary>
        /// 讲师ID
        /// </summary>
        [IEIgnore]
        public string CourseInstructorId { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [IEIgnore]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 登录账号
        /// </summary>
        [ExporterHeader(DisplayName = "登录账号")]
        public string UserLoginId { get; set; }

        /// <summary>
        /// 讲师编码
        /// </summary>
        [ExporterHeader(DisplayName = "讲师编码")]
        public string InstructorCode { get; set; }

        /// <summary>
        /// 讲师
        /// </summary>
        [ExporterHeader(DisplayName = "讲师")]
        public string InstructorName { get; set; }

        /// <summary>
        /// 讲师类型
        /// </summary>
        [ExporterHeader(DisplayName = "讲师类型")]
        public string InstructorType { get; set; }

        /// <summary>
        /// 所属组织
        /// </summary>
        [ExporterHeader(DisplayName = "所属组织")]
        public string Company { get; set; }

        /// <summary>
        /// 课时
        /// </summary>
        [ExporterHeader(DisplayName = "课时")]
        public decimal? CoursePeriod { get; set; }

        /// <summary>
        /// 培训年月
        /// </summary>
        [IEIgnore]
        public int? Status { get; set; }
    }
}